import { Suspense } from 'react'
import { RouterProvider } from 'react-router-dom'
import routes from './router/index'
function App() {
  return (
    <Suspense fallback={<div>loading...</div>}>
      <RouterProvider router={routes} />
    </Suspense>
  )
}

export default App
